package figure8.GUI;

import java.awt.BorderLayout;

import figure8.Controller;
import figure8.WAVTrack;

/**
 * The WAVTrackPanel is a special case of TrackPanel that houses controls and
 * out relevant to a specific WAVTrack.
 */
public class WAVTrackPanel extends TrackPanel {
	public WAVTrackPanel(Controller controller, WAVTrack track) {
		super(track);
		
		WAVTrackSettingsPanel panel = new WAVTrackSettingsPanel(controller, track);
		this.add(panel, BorderLayout.LINE_START);
		this.add(new Waveform(track), BorderLayout.CENTER);
	}
}
